package com.gzist.security4.service;

import com.gzist.security4.domain.Role;
import com.gzist.security4.domain.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gzist.security4.domain.dto.LoginParams;

import java.util.List;

/**
* @author 黄泽建
* @description 针对表【user】的数据库操作Service
* @createDate 2024-05-14 00:43:40
*/
public interface UserService extends IService<User> {

    String login(LoginParams loginParams);

    List<Role> getAllRoles(Long id);

}
